<?php $replays = $sf_data->getRaw('replays') ?>

<table class="stdtable replay_table">
    <tr>
        <th><?php echo __('Upload time') ?></th>
        <th><?php echo __('Players') ?></th>
        <th><?php echo __('Type') ?></th>
        <th></th>
    </tr>
    <?php foreach($replays as $replay) : ?>
    <tr>
        <td><?php echo $replay->getCreatedAt('Y-m-d H:i:s') ?></td>
        <td>
            <?php echo $replay->getPlayersName() ?>
        </td>
        <td>
            <?php echo $replay->getReplayGameType()->getName() ?>
        </td>
        <td><a href="<?php echo url_for('@viewreplay?id='.$replay->getId()) ?>"><?php echo __('Details') ?></a></td>
    </tr>
    <?php endforeach; ?>
</table>